﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Domain.Entities.Auditing;

namespace Coway.Ordering.PayOrders
{
    /// <summary>
    /// 支付单-买断，信用卡支付
    /// </summary>
    public class CCRPayOrder : AuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderId { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        /// 卡类别
        /// </summary>
        public string CardType { get; set; }

        /// <summary>
        /// 卡号
        /// </summary>
        public string CardNo { get; set; }

        /// <summary>
        /// 有效期
        /// </summary>
        public DateTime? ExpirationDate { get; set; }

        /// <summary>
        /// 信用卡验证码
        /// </summary>
        public string CVV { get; set; }

        /// <summary>
        /// 持卡人姓名
        /// </summary>
        public string CardHolderName { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public decimal? Amount { get; set; }

        /// <summary>
        /// 账单地址 - 街道
        /// </summary>
        public string BillingAddressStreet { get; set; }

        /// <summary>
        /// 账单地址 - 城市
        /// </summary>
        public string BillingAddressCity { get; set; }

        /// <summary>
        /// 账单地址 - 州
        /// </summary>
        public string BillingAddressState { get; set; }

        /// <summary>
        /// 账单地址 - 公寓住宅bai (单元住宅, 房间du)
        /// </summary>
        public string BillingAddressApt { get; set; }

        /// <summary>
        /// 账单地址 - 邮编
        /// </summary>
        public string BillingAddressZipCode { get; set; }

        /// <summary>
        /// 邮政编码
        /// </summary>
        public string ZipCode { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 签名（Base64位图片）
        /// </summary>
        public string SignatureImage { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        public DateTime? Date { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string Contact { get; set; }

        /// <summary>
        /// 接收人
        /// </summary>
        public string Receiver { get; set; }
    }
}
